package cn.laike.modules.dev.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

import org.springframework.data.annotation.Transient;

/**
 * 会员信息
 * 
 * @author ziye
 * @email 524748907@qq.com
 * @date 2019-02-20 16:02:11
 */
@TableName("dev_member")
public class MemberEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Integer id;
	/**
	 * 商户编号
	 */
	private Long uid;
	/**
	 * 会员编号
	 */
	private String openid;
	/**
	 * 姓名
	 */
	private String name;
	/**
	 * 会员卡号
	 */
	private String number;
	/**
	 * 联系方式
	 */
	private String mobile;
	/**
	 * 昵称
	 */
	private String nickname;
	/**
	 * 头像
	 */
	private String avatar;
	/**
	 * 余额
	 */
	private Double money;
	/**
	 * 推广佣金
	 */
	private Double recommendMoney;
	/**
	 * 身份类型: 1:业务员(推广)  2:核销核销
	 */
	private String type;
	/**
	 * 注册时间
	 */
	private Date createTime;
	@Transient
	private transient Object orderCount;
	@Transient
	private transient Object orderDays;
	private String parentOpenid;
	private String parentName;
	

	/**
	 * 设置：
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：商户编号
	 */
	public void setUid(Long uid) {
		this.uid = uid;
	}
	/**
	 * 获取：商户编号
	 */
	public Long getUid() {
		return uid;
	}
	/**
	 * 设置：会员编号
	 */
	public void setOpenid(String openid) {
		this.openid = openid;
	}
	/**
	 * 获取：会员编号
	 */
	public String getOpenid() {
		return openid;
	}
	/**
	 * 设置：姓名
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * 获取：姓名
	 */
	public String getName() {
		return name;
	}
	/**
	 * 设置：联系方式
	 */
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	/**
	 * 获取：联系方式
	 */
	public String getMobile() {
		return mobile;
	}
	/**
	 * 设置：昵称
	 */
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	/**
	 * 获取：昵称
	 */
	public String getNickname() {
		return nickname;
	}
	/**
	 * 设置：头像
	 */
	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}
	/**
	 * 获取：头像
	 */
	public String getAvatar() {
		return avatar;
	}
	/**
	 * 设置：余额
	 */
	public void setMoney(Double money) {
		this.money = money;
	}
	/**
	 * 获取：余额
	 */
	public Double getMoney() {
		return money;
	}
	
	public Double getRecommendMoney() {
		return recommendMoney;
	}
	public void setRecommendMoney(Double recommendMoney) {
		this.recommendMoney = recommendMoney;
	}
	/**
	 * 设置：注册时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：注册时间
	 */
	public Date getCreateTime() {
		return createTime;
	}
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	public Object getOrderCount() {
		return orderCount;
	}
	public void setOrderCount(Object orderCount) {
		this.orderCount = orderCount;
	}
	public Object getOrderDays() {
		return orderDays;
	}
	public void setOrderDays(Object orderDays) {
		this.orderDays = orderDays;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}

	public String getParentOpenid() {
		return parentOpenid;
	}
	public void setParentOpenid(String parentOpenid) {
		this.parentOpenid = parentOpenid;
	}
	public String getParentName() {
		return parentName;
	}
	public void setParentName(String parentName) {
		this.parentName = parentName;
	}
	
	
	
}
